package com.tarena.lbs.service;

import com.tarena.lbs.entity.CouponStock;

public interface CouponStockService {
    CouponStock getStockByCouponId(Integer couponId);
    boolean updateStock(Integer couponId, Integer num);
    // 扣减库存
    boolean decreaseStock(Integer couponId, Integer num);
}